home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / rsync.prerm < prev    next >
Text File  |  2009-06-25  |  494b  |  31 lines

  1. #!/bin/sh -e
  2. # prerm for rsync
  3.  
  4. case "$1" in
  5.     remove|deconfigure)
  6.     if [ -h /usr/doc/rsync ]; then
  7.         rm -f /usr/doc/rsync
  8.     fi
  9.     if [ -x /etc/init.d/rsync ]; then
  10.         if [ -x /usr/sbin/invoke-rc.d ]; then
  11.             invoke-rc.d rsync stop
  12.         else
  13.             /etc/init.d/rsync stop
  14.         fi
  15.     fi
  16.     ;;
  17.     upgrade)
  18.     if [ -h /usr/doc/rsync ]; then
  19.         rm -f /usr/doc/rsync
  20.     fi
  21.         ;;
  22.     failed-upgrade)
  23.         ;;
  24.     *)
  25.         echo "prerm called with unknown argument \`$1'" >&2
  26.         exit 0
  27.     ;;
  28. esac
  29.  
  30. exit 0
  31.